package com.hui.entity;

import java.util.Date;

/**
 * @Description 货物实体类
 * @date 2023/2/10 21:05
 */
public class Product {
    private Integer productId;
    private String productName;
    private Integer categoryId;
    private Integer productNum;
    private String productDesc;
    private Date createTime;
    private String status;
    private Integer warehouseId;


    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }



    public void setStatus(String status) {
        this.status = status;
    }

    public Product() {
    }

    public Product(Integer productId, String productName, Integer categoryId, Integer productNum, String productDesc, Date createTime, String status, Integer warehouseId) {
        this.productId = productId;
        this.productName = productName;
        this.categoryId = categoryId;
        this.productNum = productNum;
        this.productDesc = productDesc;
        this.createTime = createTime;
        this.status = status;
        this.warehouseId = warehouseId;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", categoryId=" + categoryId +
                ", productNum=" + productNum +
                ", productDesc='" + productDesc + '\'' +
                ", createTime=" + createTime +
                ", status='" + status + '\'' +
                ", warehouseId=" + warehouseId +
                '}';
    }
}
